package org.millioncall.yueyoga.admin.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lisj Mar 25, 2014 11:24:37 AM
 */
public class Task implements Serializable {
	private static final long serialVersionUID = -4470414556955362337L;
	private Integer id;
	private String name;
	private Integer type; // 对应1:会员,2:组
	private Integer subStatusId; // 值状态ID
	private String remarks;
	private Date createtime;
	private Date expirydate; // 到期时间
	private Date finishtime; // 完成时间
	private Date executetime; // 执行时间

	private String groupsId; // 组编号
	private Groups group;
	private Integer memberId; // 会员编号
	private Member member;
	private String userId;
	private User user; // 创建人
	private String resporId;
	private User respor; // 负责人

	private Status childStatus; // 子状态
	private UserDetail userDetail;
	private Integer state; // 0:已取消，1:进行中，2:已完成,3:过期未完成
	private String organizationId;

	public Task() {

	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks == null ? null : remarks.trim();
	}

	public Date getExpirydate() {
		return expirydate;
	}

	public void setExpirydate(Date expirydate) {
		this.expirydate = expirydate;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Integer getSubStatusId() {
		return subStatusId;
	}

	public void setSubStatusId(Integer subStatusId) {
		this.subStatusId = subStatusId;
	}

	public Date getFinishtime() {
		return finishtime;
	}

	public void setFinishtime(Date finishtime) {
		this.finishtime = finishtime;
	}

	public String getGroupsId() {
		return groupsId;
	}

	public void setGroupsId(String groupsId) {
		this.groupsId = groupsId;
	}

	public Status getChildStatus() {
		return childStatus;
	}

	public void setChildStatus(Status childStatus) {
		this.childStatus = childStatus;
	}

	public UserDetail getUserDetail() {
		return userDetail;
	}

	public void setUserDetail(UserDetail userDetail) {
		this.userDetail = userDetail;
	}

	public User getRespor() {
		return respor;
	}

	public void setRespor(User respor) {
		this.respor = respor;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Groups getGroup() {
		return group;
	}

	public void setGroup(Groups group) {
		this.group = group;
	}

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getResporId() {
		return resporId;
	}

	public void setResporId(String resporId) {
		this.resporId = resporId;
	}

	public Date getExecutetime() {
		return executetime;
	}

	public void setExecutetime(Date executetime) {
		this.executetime = executetime;
	}
}